package com.cc8w.home.service;

import com.cc8w.entity.UserEntity;
import com.cc8w.home.mapper.UserMapper;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service("userService")
@Transactional
public class UserService {

    @Autowired
    //@Qualifier("userMapper")
    private UserMapper userMapper;

    public UserEntity queryUserByUserName(String userName){
        return userMapper.queryUserByUserName(userName);
    }








}